﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="CompanyConfigurationEdit.aspx.cs"
    Inherits="CrmContacto.WebApp.App.CompanyConfigurationEdit" %>

<%@ Import Namespace="Web.Framework.Translate" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="/Styles/App/CustomerEdit.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <asp:Literal ID="Literal22" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.Company.EditTitle"]%>' />
    </h2>
    <asp:Panel ID="pnlMain" runat="server" CssClass="editionContainerFilter">
        <p>
            <span class="title2">
                <asp:Literal ID="Literal2" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.CssFilePath"]%>' />:</span>
            <asp:TextBox ID="txtCssFilePath" runat="server" CssClass="inputs inputlong" ClientIDMode="Static"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtCssFilePath"
                runat="server" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal6" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.LogoImgFilePath"]%>' />:</span>
            <asp:TextBox ID="txtLogoImgFilePath" runat="server" CssClass="inputs inputlong" ClientIDMode="Static"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtLogoImgFilePath"
                runat="server" ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal1" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.MailBienvenidaSubject"]%>' />:</span>
            <asp:TextBox ID="txtMailBienvenidaSubject" runat="server" CssClass="inputs inputlong"
                ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal5" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.PathMailBienvenida"]%>' />:</span>
            <asp:TextBox ID="txtPathMailBienvenida" runat="server" CssClass="inputs inputlong"
                ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal7" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.MailBienvenidaFrom"]%>' />:</span>
            <asp:TextBox ID="txtMailBienvenidaFrom" runat="server" CssClass="inputs inputlong"
                ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal8" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.MailBienvenidaReplyTo"]%>' />:</span>
            <asp:TextBox ID="txtMailBienvenidaReplyTo" runat="server" CssClass="inputs inputlong"
                ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal9" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.MailHost"]%>' />:</span>
            <asp:TextBox ID="txtMailHost" runat="server" CssClass="inputs inputlong" ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal10" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.MailPort"]%>' />:</span>
            <asp:TextBox ID="txtMailPort" runat="server" CssClass="inputs inputlong" ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal4" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.ValidacionMaximoEdad"]%>' />:</span>
            <asp:TextBox ID="txtValidacionMaximoEdad" runat="server" CssClass="inputs inputlong" ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
        <p>
            <span class="title2">
                <asp:Literal ID="Literal11" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Company.AgregarContactoEnSincronizacionDeVentas"]%>' />:</span>
            <asp:TextBox ID="txtSincronizarVentas_InsertarContactosPorVentas" runat="server" CssClass="inputs inputlong" ClientIDMode="Static"></asp:TextBox>
        </p>
        <div class="clear">
        </div>
    </asp:Panel>
    <br />
    <div class="commandBarDiv">
        <asp:LinkButton ID="lnkGuardar" runat="server" CssClass="guardar" OnClick="lnkGuardar_Click">
            <asp:Literal ID="Literal3" runat="server" Text='<%$ Code: LocalizationProvider.Instance["Bo.Command.Guardar"]%>' /></asp:LinkButton>
        <div class="clear">
        </div>
    </div>
    <script type='text/javascript'>

        $(document).ready(function () {

            if (!window.AppCommonObj) {
                window.AppCommonObj = new AppCommon();
            }

            document.DirtyCheck = new DirtyCheck();
            document.DirtyCheck.loadControlState();

           AppCommonObj.ConfirmMovePage();           

        });
    </script>
</asp:Content>
